import axios from '@/api/fetch';
import SERVER from '@/api/server';
// 服务顾问 - 下拉框
export const getUserListSelect = params => axios.get(`/api/sysManage/basedata/users/getUserListByRole?role=10071011`, { params });

// 查询所有员工
export const getAllUser = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/users/getDealerUser`);

// 仓库下拉框
export const Storage = params => axios.get(`${SERVER.DMSCLOUD_PART}/basedata/BasicParametersAfterSales/findAllStroageCode`, { params });

// 索赔日报表 已结算
export const queryDailyClaimByBalancedReport = params => axios.get(`${SERVER.DMSCLOUD_REPORT}/claimReport/queryDailyClaimByBalancedReport`, { params });

// 索赔日报表 在修
export const queryDailyClaimByRepairingReport = params => axios.get(`${SERVER.DMSCLOUD_REPORT}/claimReport/queryDailyClaimByRepairingReport`, { params });

// 索赔月报表 已结算
export const queryMonthlyClaimByBalancedReport = params => axios.get(`${SERVER.DMSCLOUD_REPORT}/claimReport/queryMonthlyClaimByBalancedReport`, { params });

// 索赔月报表 在修
export const queryMonthlyClaimByRepairingReport = params => axios.get(`${SERVER.DMSCLOUD_REPORT}/claimReport/queryMonthlyClaimByRepairingReport`, { params });
